//
// Created by wkm on 2023-12-03.
//

#include "tri_state.h"

void tri_state::prc_tri_state() {
    if (ready)
        selectx = sc_logic('Z');
        // 或者 selectx=SC_LOGIC_Z;
    else
        selectx = sc_logic(dina.read() & dinb.read());
}